<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>4-BOM对象-window</title>
	</head>
	<body>
		<script type="text/javascript">
			var num = 10;
			console.log(num);
			console.log(window.num);
			
			function show(){
				alert('展示');
			}
			show();
			window.show();
		</script>
	</body>
</html>
